PaymentPlugins\WooCommerce\PPCP\Rest\RestController S

Total Complexity 13
Dependencies 24
Dependents 5
Total lines 121
Lines of code 98
Logical lines of code 27
Comment lines 4
Methods 8
Properties 2

Methods 8

Method Rating Maintainability Complexity Lines of code
initialize()
S
47 1 42
get_endpoint()
S
58 2 14
register_rest_routes()
S
72 2 5
get_route_args()
S
64 2 10
handle_ajax_request()
S
68 2 7
add_asset_data()
S
63 2 10
__construct()
S
70 1 6
get_routes()
S
75 1 4